///////////////////////////////////////////////////////////
// 
//  Game.h
//
//  Wiicussion
//  HCI 575 Class project
//  Spring 2007
// 
//  Authors:  Jeremy Bennett
//            Adam Faeth
//            Michael Oren
//
///////////////////////////////////////////////////////////

#ifndef _GAME_H_
#define _GAME_H_

// Local Includes

// SDL Includes

// System Includes

// Forward Declarations
class MyContext;

class Game
{
  public: 
    // constructor/destructor
    Game(float fX, float fY, float fW, float fH);
    virtual ~Game();
    
    // Activation
    virtual bool activate();
    virtual bool deactivate();
    
    // Event handler (default)
    virtual bool handleEvents();
    
    // Update and Render
    virtual bool preFrame();
    virtual bool postFrame();
    virtual bool renderGame( MyContext *pContex );
	virtual bool isActive(){
		return _bActive;
	}
    
  protected:
    // Game mode parameters
    bool _bActive;
    
    // Game UI Rendering
    float             _fRenderSize[2];
    float             _fRenderPos[2];
};


#endif _GAME_H_
